﻿@inject SettingService SettingService
@{
    var setting = SettingService.GetGeneralSetting();
    var system = SettingService.GetSystemSetting();
}
<footer class="blog-footer mt-3">
    @if (!setting.CustomFooter.IsNullOrWhiteSpace())
    {
        <p>
            @Html.Raw(setting.CustomFooter)
        </p>
    }
    <p>
        <ul class="list-inline">
            @if (!setting.BeiAn.IsNullOrWhiteSpace())
            {
                <li class="list-inline-item">@setting.BeiAn</li>
            }
            <li class="list-inline-item">@Html.Raw(system.Copyright)</li>
            <li class="list-inline-item">@system.Version</li>
        </ul>
    </p>
</footer>
@if (setting.StatisticCode.IsNullOrWhiteSpace())
{
    @Html.Raw(setting.StatisticCode)
}